*{ padding:0; margin:0;}
li {list-style: none;}
a {text-decoration: none;color: #333333;}
.px2rem(@name, @px){
    @{name}: @px / 75 * 1rem;
}

.webkit{
    display: -webkit-flex;
    display: -moz-flex;
}
.line-height(@arg){.px2rem(line-height, @arg);}
.font-size(@arg){.px2rem(font-size, @arg);}

.font(@fz,@color){
    .px2rem(font-size,@fz);
    color: @color;
}
.border-bottom(@px,@xian,@color){
    .px2rem(border-bottom-width,@px);
    border-bottom-style: @xian;
    border-bottom-color: @color;
}
.border-top(@px,@xian,@color){
    .px2rem(border-top-width,@px);
    border-top-style: @xian;
    border-top-color: @color;
}
.border(@px,@xian,@color){.px2rem(border-width,@px);border-style: @xian; border-color: @color;}

.padding-top(@top){.px2rem(padding-top, @top);}
.padding-right(@right){.px2rem(padding-right, @right);}
.padding-bottom(@bottom){.px2rem(padding-bottom, @bottom);}
.padding-left(@left){.px2rem(padding-left, @left);}

.padding(@top,@right,@bottom,@left){
   .px2rem(padding-top,@top);
   .px2rem(padding-right,@right);
   .px2rem(padding-bottom,@bottom);
   .px2rem(padding-left,@left);
}

.margin-top(@top){.px2rem(margin-top, @top);}
.margin-right(@right){.px2rem(margin-right, @right);}
.margin-bottom(@bottom){.px2rem(margin-bottom, @bottom);}
.margin-left(@left){.px2rem(margin-left, @left);}

.margin(@top,@right,@bottom,@left){
   .px2rem(margin-top,@top);
   .px2rem(margin-right,@right);
   .px2rem(margin-bottom,@bottom);
   .px2rem(margin-left,@left);
}
.background-size(@width,@height){
    .px2rem(width,@width);
    .px2rem(height,@height);
}

body, html {
    width: 100%;
    height: 100%;
    background: #f2f2f2;
}

.section_one {
    width: 100%;
    .webkit();
    .line-height(88);
    .px2rem(height,88);
    border-bottom: 1px solid #d2d2d2;
    justify-content: center;
    align-items: center;
    background: #f2f2f2;
    position: fixed;
    top: 0;
    left: 0;
    .left{
        flex: 1;
        .padding-left(33);
        .padding-top(28);
        img {
            .px2rem(width,47);
            .px2rem(height,34);
        }
    }
    .center{
        flex: 1;
        text-align: center;
        .font-size(31);
    }
    .right{
        flex: 1;
    }
}
article {
    overflow-y: auto;
    .margin-top(88);
.section_two {
    .px2rem(height,170);
    width: 100%;
    background:#FFFFFF url(../img/line.png) no-repeat bottom;
    .shoujian {
        .webkit();
        .padding-top(33);
        .font(27,#333333);
        .sjr {
            flex: 1;
            .padding-left(88); 
        }
        .tel {
            flex: 1;
            text-align: right;
            .padding-right(66);
        }
    }
    .address {
        .webkit();
        .margin-top(19);
        
        .address_icon {
            .px2rem(width,88);
            text-align: center;
            img {
                .px2rem(width,30);
                .px2rem(height,39);
            }
        }
        .address_add {
            flex: 1;
            .font(21,#81838e);
        }
        .youjiantou {
            .px2rem(width,66);
            text-align: center;
            img {
                .px2rem(width,13);
                .px2rem(height,23);
            }
        }
    }
}

.menu {
    .px2rem(height,327);
    .margin-top(15);
    background: #FFFFFF;
    .dingdan {
        .webkit();
        .px2rem(height,94);
        align-items: center;
        .ding {
            .px2rem(width,96);
            text-align: center;
            img {
                .px2rem(width,54);
                .px2rem(height,54); 
            }
        }
        .detail {
            flex: 1;
            .font(27,#333333);
            
        }
        .edit {
            .px2rem(width,80);
            .font(25,#81838e);
        }
    }
    dl {
        .margin-left(27);
        .px2rem(height,232);
        .webkit();
        align-items: center;
        border-top: 1px solid #cccccc;
        dt {
            .margin-right(29);
            img {
                .px2rem(width,182);
                .px2rem(height,182);
            }
        }
        dd h4 {
            .font(27,#363636);
        }
        dd p {
            .margin-top(43);
            .margin-bottom(20);
            .font(33,red);
        }
        dd h2 {
            .font(23,#333333);
        }
    }
}

.peisong {
    .px2rem(height,196);
    background: #FFFFFF;
    .padding-left(27);
    .margin-top(15);
    .psfs {
        .webkit();
        align-items: center;
        .px2rem(height,99);
        border-bottom:1px solid #CCCCCC;
        .fangshi {
            .px2rem(width,184);
            .font(27,#6c6c6c);
            background: url(../img/bixuan.png) no-repeat right center;
            background-size: 26px 13px;
            .margin-right(40);
        }
        .psong {
            flex: 1;
            .yes {
                display: inline-block;
                .px2rem(width,62);
                .px2rem(height,48);
                .line-height(48);
                .font(22,red);
                background: url(../img/yes.png) no-repeat 5px center;
                background-size: 12px 7px;
                .padding-left(46);
                border: 1px solid red;
                border-radius: 3px;
                .margin-right(29);
            }
            .zt {
                display: inline-block;
                .px2rem(width,108);
                .px2rem(height,48);
                .line-height(48);
                text-align: center;
                border: 1px solid #363636;
                border-radius: 3px;
            }
        }
        .right_icon {
            .px2rem(width,66);
            text-align: center;
            img {
                .px2rem(width,13);
                .px2rem(height,23);
            }
        }
    }
    .zffs {
        .webkit();
        align-items: center;
        .px2rem(height,99);
        .zffangshi {
            .px2rem(width,184);
            .font(27,#6c6c6c);
            background: url(../img/bixuan.png) no-repeat right center;
            background-size: 30%;
            .margin-right(40);
        }
        .zhifu {
            flex: 1;
            .wx {
                display: inline-block;
                .px2rem(width,111);
                .px2rem(height,48);
                .line-height(48);
                .font(22,red);
                background: url(../img/yes.png) no-repeat 5px center;
                background-size: 12px 7px;
                .padding-left(46);
                border: 1px solid red;
                border-radius: 3px;
                .margin-right(29);
            }
            .zfb {
                display: inline-block;
                .px2rem(width,157);
                .px2rem(height,48);
                .line-height(48);
                text-align: center;
                border: 1px solid #363636;
                border-radius: 3px;
            }
        }
       
    }
}    
.youhui {
.px2rem(height,200);
.margin-top(15);
.padding-left(27);
background: #FFFFFF;
    .yhq {
        .webkit();
        .px2rem(height,94);
        align-items: center;
        border-bottom: 1px solid #CCCCCC;
        .yh_icon {
            .margin-right(16);
            img {
                .px2rem(width,41);
                .px2rem(height,33); 
            }
        }
        .yh_wz {
            flex: 1;
            .font(27,#333333);
        }
        .right_icon {
            .px2rem(width,66);
            text-align: center;
            img {
                .px2rem(width,13);
                .px2rem(height,23);
            }
        }
    }
    .fuyan {
        .webkit();
        .px2rem(height,98);
        align-items: center;
        .fy {
            flex: 1;
            border: none;
            outline: none;
            .font(26,#bcbcbc);
        }
    }
}

.jine {
    .webkit();
    .margin-top(15);
    .padding-right(25);
    background: #FFFFFF;
    flex-direction: column;
    text-align: right;
    .wan {
        .margin-top(30);
    }
    span {
        .font(22,red);
    } 
    .spjj {
        .margin-top(30);
    }   
    .fkje {
        .margin-bottom(26);
    }
}
}
footer {
    .webkit();
    .px2rem(height,97);
    background: #FFFFFF;
    border: 1px solid #CCCCCC;
    align-items: center;
    .total {
        flex: 1;
        .font(29,red);
        .padding-right(40);
        text-align: right;
    }
    .sure {
        .px2rem(width,225);
        .px2rem(height,97);
        .line-height(97);
        text-align: center;
        background: red;
        .font(31,white);
    }
}
